﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WorkStation.Frameworks.EasyBus.Attributes
{
    /// <summary>
    /// 发布消息标记
    /// </summary>
    [AttributeUsage(AttributeTargets.Class)]
    public class PublishAttribute : Attribute
    {
        /// <summary>
        /// 路由关键字
        /// </summary>
        public string RouteKey { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; }
    }
}
